package com.wxapp.system.service.service;

import com.wxapp.common.constant.pojo.vm.ResultVm;
import com.wxapp.common.constant.pojo.vo.UserVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;

/**
 * @author lgl
 * @Description
 * @Datetime 2022/8/25 18:12
 * @Modified By
 */
public interface UploadService {
    ResultVm<String> upload(UserVo userVo, MultipartFile file, String path);
    ResultVm<String> tempUrl(String name) throws Exception;

    ResultVm<String> delFile(String name);
}
